package com.gsafety.wellsfort.dao.security;

import com.gsafety.wellsfort.domain.model.security.MenuRoleRel;

import java.util.List;

public interface MenuRoleRelDAO {
    int deleteByPrimaryKey(Integer id);

    int deleteByRoleId(Integer roleId);

    int insert(MenuRoleRel record);

    int insertSelective(MenuRoleRel record);

    MenuRoleRel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MenuRoleRel record);

    int updateByPrimaryKey(MenuRoleRel record);

    List<MenuRoleRel> selectByRoleId(Integer roleId);
}